composetable: Warn when ignoring things
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Feb 2021 17:21:06 +0000 (12:21 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 Feb 2021 17:27:41 +0000 (12:27 -0500)
We should at least give a hint that we've seen the line,
otherwise people will wonder why nothing happened.

gtk/gtkcomposetable.c

index 82f591850c0b08cf89df5f2c9adcde0b5582082e..afcedc42dfd8f9b8114e732204b954c01f92c63e 100644 (file)
@@ -218,7 +218,10 @@ parse_compose_line (GList       **compose_list,
     return;
 
   if (g_str_has_prefix (line, "include "))
-    return;
+    {
+      g_warning ("include in Compose files not supported: %s", line);
+      return;
+    }
 
   components = g_strsplit (line, ":", 2);